home *** CD-ROM | disk | FTP | other *** search
/ SGI Developer Toolbox 6.1 / SGI Developer Toolbox 6.1 - Disc 4.iso / src / swtools / mipsABI / examples / sup / PORT / step07 / vprintf.c.diff < prev    next >
Encoding:
Text File  |  1994-08-02  |  408 b   |  18 lines

  1. *** ../dist/vprintf.c    Thu Dec 16 07:30:02 1993
  2. --- vprintf.c    Fri Dec 17 16:41:08 1993
  3. ***************
  4. *** 126,128 ****
  5. --- 126,137 ----
  6.       return (n-fakebuf._cnt-1);
  7.   }
  8.   #endif    /* NEED_VPRINTF || NEED_VSNPRINTF */
  9. + #ifdef _ABI_SOURCE
  10. + int
  11. + vsnprintf(char *s, int n, char *fmt, va_list args)
  12. + {
  13. +     /*XXX this needs work to emulate expected behavior */
  14. +     return vsprintf (s, fmt, args);
  15. + }
  16. + #endif
  17.